-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUACAMOLE-1026: Use LoadChannels callback method to load plugins with FreeRDP3. #546
GUACAMOLE-1026: Use LoadChannels callback method to load plugins with FreeRDP3. #546
Conversation
d4d891e
to
c19e6a9
Compare
33b53f2
to
ff7ca6d
Compare
src/protocols/rdp/rdp.c
Outdated
* @return | ||
* Always TRUE. | ||
*/ | ||
BOOL rdp_freerdp_load_channels(freerdp* instance) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These (rdp_freerdp_load_channels
and rdp_freerdp_pre_connect
) should be declared as static
if they're only used within this file.
ff7ca6d
to
4e04989
Compare
4d5373c
to
2e7858e
Compare
src/protocols/rdp/rdp.c
Outdated
* otherwise it can becalled directly from our pre_connect callback. It | ||
* configures various features such as display resizing, multi-touch support, | ||
* audio input, clipboard synchronization, device redirection, and graphics | ||
* pipeline, by loading their correspondingplugins if they are enabled in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space: "correspondingplugins"
2e7858e
to
dfc7d03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Plugins were not working properly when building Guacamole with FreeRDP3 due to a change in how they are loaded. This PR implements the LoadChannels callback function for loading plugins.
https://github.com/FreeRDP/FreeRDP/wiki/FreeRDP3-migration-notes